<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:p="http://primefaces.prime.com.tr/ui"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets">
<f:view contentType="text/html">

</f:view>
<h:head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<link href="../style/default.css" rel="stylesheet" type="text/css" />
	<f:view locale="#{authenticationFrm.locale}" />
	<f:loadBundle basename="br.utfpr.edu.language.pattern" var="msgs" />
</h:head>
<body>
	<ui:insert name="cabecalho">
		<h:form>
			 <p:menubar>
			 	<p:submenu label="#{msgs.cadastro}" >
			 	   <p:menuitem value="#{msgs.project}" 
					  action="#{projectFrm.enter}" />
					<p:menuitem value="#{msgs.analysis}" 
					  action="#{analiseFrm.enter}" /> 
        		</p:submenu>
        		<p:submenu label="#{msgs.relatorios}" >
        			<p:menuitem value="#{msgs.graficoCircular}"
						 actionListener="#{relatorioFrm.entrarRelatorioCircular}" />
					<p:menuitem value="#{msgs.histograma}"
						 actionListener="#{relatorioFrm.entrarHistograma}" />
        		</p:submenu>
        		<p:submenu label="Blast">
        			<p:menuitem value="#{msgs.blastExecute}" 
						 action="#{blastFrm.enter}" /> 
					<p:menuitem value="#{msgs.reclassification}" 
						 action="#{reclassificacaoFrm.enter}" />
				</p:submenu>
				<p:submenu label="#{msgs.ferramentas}" >
        			<p:menuitem value="#{msgs.lauchIGV}" 
						 action="#{igvFrm.enter}" />
					<p:menuitem value="RepeatMasker"
						 action="#{repeatMaskerFrm.enter}" /> 
				</p:submenu>
				<p:submenu label="#{msgs.sobre}" >
        			<p:menuitem value="#{msgs.sobreSistema}" 
						 action="#{sobreFrm.enter}" /> 
				</p:submenu>
       		</p:menubar>
			<p:commandButton style="active" id="exit" value="#{msgs.sairSistema}" onclick="confirmation.show()" />
			  
			<p:confirmDialog id="confirmDialog"
				message="#{msgs.desejaSairDoSistema}" header="#{msgs.confirmation}"
				severity="alert" widgetVar="confirmation" >

			<p:commandButton id="confirm" value="#{msgs.sim}"
					oncomplete="confirmation.hide()" actionListener="#{menuFrm.sair}" />
				<p:commandButton id="decline" value="#{msgs.nao}"
					onclick="confirmation.hide()" />
			</p:confirmDialog>
			
		</h:form>
	</ui:insert>
	<ui:insert name="miolo">
	</ui:insert>
	<ui:insert name="rodape">
	</ui:insert>
</body>
</html>

